import { Injectable } from '@angular/core';
import {EventEmitter} from 'eventemitter3';
@Injectable({
  providedIn: 'root'
})
export class EventService {

  public eventEmit: any;
  constructor() {
    // 定义发射事件
    this.eventEmit = new EventEmitter();
  }

}
